﻿<!--//=============================================================
    // Copyright (C) 2015 福流网络
    // 作 者：钟星星
    // 日 期：2016-03-20
    // 描 述:  客户报检
    // 版 本：1.00
    // 修改历史纪录
    // 版 本  修改时间      修改人            修改内容
    //=============================================================-->



<div id="QueryItem">
    <div class="col1" id="query_item_company_name">
        <table class="query_table">
            <tr>
                <td class="label">报关类型</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input class="mini-combobox" style="width:100%" name="declare_id" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=name,value&where=code='bg_baoguanleixing'&searchField=name,value" valuefield="value" textfield="name" />
                </td>
            </tr>
        </table>
    </div>
    
    <div class="col1" id="query_item_wharf_id">
        <table class="query_table">
            <tr>
                <td class="label">码头</td>
                <td class="exp" style="display: none">
                    <select>

                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>

                    <input class="mini-combobox" style="width:100%" name="wharf_id" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=300 and stop_yn=0&searchField=short,zucode" valuefield="id" textfield="short" showclose="true" oncloseclick="onCloseClick" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_goods_name">
        <table class="query_table">
            <tr>
                <td class="label">货名</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input class="mini-textbox" style="width:100%" name="goods_name"  />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_trade_no">
        <table class="query_table">
            <tr>
                <td class="label">贸易方式</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="auttrade_no" name="trade_no" class="mini-autocomplete" style="width:100%;float: left;" popupwidth="400" allowinput="true" textfield="name" valuefield="value"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=name,value&where=code='bg_maoyifangshi'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_port_no">
        <table class="query_table">
            <tr>
                <td class="label">口岸</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autport_no" name="port_no" class="mini-autocomplete" style="width:100%;" popupwidth="400" allowinput="true" textfield="name" valuefield="value"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=name,value&where=code='bg_shenbaokouan'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_vessel">
        <table class="query_table">
            <tr>
                <td class="label">船名</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input class="mini-textbox" style="width:100%" name="vessel" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_voyage">
        <table class="query_table">
            <tr>
                <td class="label">航次</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input class="mini-textbox" style="width:100%" name="voyage" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_use_no">
        <table class="query_table">
            <tr>
                <td class="label">自编号</td>
                <td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td>
                <td>
                    <input name="use_no" class="mini-textbox" style="width:50%; float:left;" data="use_no_data" />
                    <input name="use_no_1" class="mini-textbox" style="width: 50%; float: left; " data="use_no_data" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_company_name">
        <table class="query_table">
            <tr>
                <td class="label">所属公司</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" name="company_name" class="mini-combobox">
                        <option value=""></option>
                        <option value="华报报关公司">华报报关公司</option>
                        <option value="华物报关公司">华物报关公司</option>
                    </select>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_customer_name">
        <table class="query_table">
            <tr>
                <td class="label">客户</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autcustomer_name" name="customer_name" class="mini-autocomplete" style="width:100%;" popupwidth="400" allowinput="true" textfield="short" valuefield="short"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_objs&fieldnames=id,zucode,short&where=zclass_id=100 and stop_yn=0&searchField=short,zucode" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="id" field="id" width="0"></div>
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="short"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_customer01_name">
        <table class="query_table">
            <tr>
                <td class="label">第二客户</td>
                <td class="exp" style="display: none">
                    <select><option value="like">包含</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <input class="mini-textbox" style="width:100%" name="customer01_name" />
                </td>
            </tr>
        </table>
    </div>
    <div class="col1" id="query_item_bill_no"><table class="query_table"><tr><td class="label">结算单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="bill_no" class="mini-textbox" style="width:100%;" data="bill_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_reconciliation_no"><table class="query_table"><tr><td class="label">对账单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="reconciliation_no" class="mini-textbox" style="width:100%;" data="reconciliation_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_apply_no"><table class="query_table"><tr><td class="label">报关单</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="apply_no" class="mini-textbox" style="width:100%;" data="apply_no_data" /></td></tr></table></div>

    <div class="col1" id="query_item_arp_type_name">
        <table class="query_table">
            <tr>
                <td class="label">收款方式</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" id="arp_type_name" name="arp_type_name" class="mini-combobox">
                        <option value=""></option>
                        <option value="挂账">挂账</option>
                        <option value="现金">现金</option>
                        <option value="转账">转账</option>
                    </select>

                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_payee_name">
        <table class="query_table">
            <tr>
                <td class="label">收款人</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <div id="payee_name" name="payee_name" class="mini-combobox" style="width:100%;" popupwidth="250" textfield="name" valuefield="name"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=v_fin_payee&fieldnames=name&searchField=name" oncloseclick="onCloseClick">
                    </div>

                </td>
            </tr>
        </table>
    </div>

    <div class="col1" id="query_item_operator">
        <table class="query_table">
            <tr>
                <td class="label">结算员</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <div id="operator" name="operator" class="mini-combobox" style="width:100%;float: left;" popupwidth="250" textfield="name" valuefield="name"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=v_fin_userinfo&fieldnames=name&where=type=2&searchField=name" oncloseclick="onCloseClick">
                    </div>
                </td>
            </tr>
        </table>
    </div>


    <div class="col1" id="query_item_status_name">
        <table class="query_table">
            <tr>
                <td class="label" style="width:105px;">收款审核状态</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%;" id="status_name" name="status_name" class="mini-combobox">
                        <option value=""></option>
                        <option value="未审核">未审核</option>
                        <option value="已审核">已审核</option>
                    </select>

                </td>
            </tr>
        </table>
    </div>


    <div class="col1" id="query_item_audit_name"><table class="query_table"><tr><td class="label">收款审核人</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="audit_name" class="mini-textbox" style="width:100%;" data="audit_name_data" /></td></tr></table></div>
    <div class="col1" id="query_item_payback_status_name">
        <table class="query_table">
            <tr>
                <td class="label" style="width:105px;">回款审核状态</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <select style="width:100%;" id="payback_status_name" name="payback_status_name" class="mini-combobox">
                        <option value=""></option>
                        <option value="未审核">未审核</option>
                        <option value="已审核">已审核</option>
                    </select>

                </td>
            </tr>
        </table>
    </div>


    <div class="col1" id="query_item_payee_status_names">
        <table class="query_table">
            <tr>
                <td class="label">回款状态</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" name="payee_status_names" multiselect="true" class="mini-combobox">
                        <option value=""></option>
                        <option value="挂账未回款">挂账未回款</option>
                        <option value="回款中">回款中</option>
                        <option value="已回款">已回款</option>
                    </select>
                </td>
            </tr>
        </table>
    </div>

    <!--<div class="col1" id="query_item_payee_status_name">
        <table class="query_table">
            <tr>
                <td class="label">回款状态</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value=">">大于</option>
                        <option value="<">小于</option>
                        <option value="between">在..之间</option>
                    </select>
                </td>
                <td>
                    <select style="width:100%; margin-left: 4px;" name="payee_status_name" class="mini-combobox">
                        <option value=""></option>
                        <option value="挂账未回款">挂账未回款</option>
                        <option value="回款中">回款中</option>
                        <option value="已回款">已回款</option>
                    </select>
                </td>
            </tr>
        </table>
    </div>-->
    <div class="col1" id="query_item_payback_audit_name"><table class="query_table"><tr><td class="label">回款审核人</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="payback_audit_name" class="mini-textbox" style="width:100%;" data="payback_audit_name_data" /></td></tr></table></div>

    <div class="col1" id="query_item_shipper_no">
        <table class="query_table">
            <tr>
                <td class="label">经营单位</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="like">包含</option>
                        <option value="=">等于</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="autshipper_no" name="shipper_no" class="mini-autocomplete" style="width: 100%;" popupwidth="400" allowinput="true" pinyinfield="znamec" textfield="znamec" valuefield="zucode"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_base_companies&fieldnames=id,zucode,znamec,com_iden,exp_dt&where=&searchField=zucode,znamec" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="zucode"></div>
                            <div header="简称" field="znamec"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>



    <div class="col2" id="query_item_payee_dt"><table class="query_table"><tr><td class="label">收款日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="payee_dt" class="mini-datepicker" style="width:100%;" data="payee_dt_data" /></td><td><input name="payee_dt_1" class="mini-datepicker" style="width:100%;" data="payee_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_payback_audit_dt"><table class="query_table"><tr><td class="label">回款审核日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="payback_audit_dt" class="mini-datepicker" style="width:100%;" data="payback_audit_dt_data" /></td><td><input name="payback_audit_dt_1" class="mini-datepicker" style="width:100%;" data="payback_audit_dt_data" /></td></tr></table></div>
    <div class="col1" id="query_item_jsy_name">
        <table class="query_table">
            <tr>
                <td class="label">计费员</td>
                <td class="exp" style="display: none">
                    <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                </td>
                <td>
                    <div id="jsy_name" name="jsy_name" class="mini-combobox" style="width:100%;" popupwidth="250" textfield="name" valuefield="name"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=v_fin_jfy_name&fieldnames=name&searchField=name" oncloseclick="onCloseClick">
                    </div>

                </td>
            </tr>
        </table>
    </div>
    <div class="col2" id="query_item_audit_dt"><table class="query_table"><tr><td class="label">收款审核日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="audit_dt" class="mini-datepicker" style="width:100%;" data="audit_dt_data" /></td><td><input name="audit_dt_1" class="mini-datepicker" style="width:100%;" data="audit_dt_data" /></td></tr></table></div>
    <div class="col2" id="query_item_payback_dt"><table class="query_table"><tr><td class="label">回款时间</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="payback_dt" class="mini-datepicker" style="width:100%;" data="payback_dt_data" /></td><td><input name="payback_dt_1" class="mini-datepicker" style="width:100%;" data="payback_dt_data" /></td></tr></table></div>
    <div class="col1" id="query_item_wharf_cost_audit_name">
        <table class="query_table">
            <tr>
                <td class="label">港保费核销人</td>
                <td class="exp" style="display: none">
                    <select><option value="like">包含</option></select>
                </td>
                <td>
                    <input name="wharf_cost_audit_name" style="width:100%;" class="mini-textbox" />

                </td>
            </tr>
        </table>
    </div>
    <div class="col2" id="query_item_apply_dt"><table class="query_table"><tr><td class="label">报关日期</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select></td><td><input name="apply_dt" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td><td><input name="apply_dt_1" class="mini-datepicker" style="width:100%;" data="apply_dt_data" /></td></tr></table></div>

    <div class="col1" id="">
        <table class="query_table">
            <tr>
                <td class="label">会计期间</td>
                <td>
                    <div id="period_name" name="period_name" class="mini-autocomplete" style="width:100%" popupwidth="500" allowinput="true" textfield="periodEndDt" valuefield="id" value="0" onvaluechanged="commentValueChanged"
                         showclose="true" valuefromselect="true" url="../../../Share/GetJsonList?tablename=t_fin_account_period&fieldnames=id,period_name,period_begin_dt,period_end_dt,( CONVERT(varchar(100),period_begin_dt ,23) + %2B + '/' + %2B +  CONVERT(varchar(100),period_end_dt,23) ) as periodEndDt&searchField=period_name" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="简称" field="period_name"></div>
                            <div header="开始时间" field="period_begin_dt"></div>
                            <div header="结束时间" field="period_end_dt"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>

    <!--<div class="col1" id="query_item_dept_id">
            <table class="query_table">
                <tr>
                    <td class="label">报关组</td>
                    <td class="exp" style="display: none">
                        <select><option value="=">等于</option><option value=">">大于</option><option value="<">小于</option><option value="between">在..之间</option></select>
                    </td>
                    <td>
                        <input id="dept_id" name="dept_id" allowinput="true"
                               class="mini-treeselect" style="width: 100%;" url="/extendpage/data/jsondata.aspx?entity=t_base_department&condition=path like'%25001-003%25' or path like'%25001-001%25'&type=1"
                               textfield="name" valuefield="id" popupwidth="300" parentfield="parent_id" />
                    </td>
                </tr>
            </table>
        </div>-->
    

    <div class="col1" id="query_item_org_id">
        <table class="query_table">
            <tr>
                <td class="label">报关组</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value="like">包含</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <input id="org_id" name="org_id" isexpandednode="true" style="width: 100%" shownullitem="true" multiselect="true" popupwidth="200" popupmaxheight="400" showfoldercheckbox="true" expandonload="true" selectonfocus="true"
                           checkrecursive="true" class="mini-treeselect" url="/extendpage/action/dataaction.aspx?action=dept&paraCondtion=isbussiness_dept=1&functionid=93de9757-a95e-49cd-9b70-a827d1484868"
                           textfield="name" valuefield="id" parentfield="parent_id" />
                </td>
            </tr>
        </table>
    </div>

    
    

    <div id="query_item_kjqjpayee_dt" style="display:none">
        <table class="query_table">
            <tr>
                <td>
                    <input id="txtkjqjpayee_dt_1" name="kjqjpayee_dt_1" class="mini-hidden" style="width:100%;" data="kjqjpayee_dt_data" />
                    <input id="txtkjqjpayee_dt_2" name="kjqjpayee_dt_2" class="mini-hidden" style="width:100%;" data="kjqjpayee_dt_data" />
                </td>

            </tr>
        </table>
    </div>


    <div class="col1" id="query_item_container_no"><table class="query_table"><tr><td class="label">柜号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="container_no" class="mini-textbox" style="width:100%;" data="container_no_data" /></td></tr></table></div>
    <div class="col1" id="query_item_total"><table class="query_table"><tr><td class="label">值总计</td><td class="exp" style="display: none"><select><option value="=">等于</option><option value="like">包含</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="total" class="mini-textbox" style="width:100%;" data="total_data" /></td></tr></table></div>

    <div class="col1" id="query_item_apply_code"><table class="query_table"><tr><td class="label">报关单号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="apply_code" class="mini-textbox" style="width:100%;" data="apply_code_data" /></td></tr></table></div>
    <div class="col1" id="query_item_bus_no"><table class="query_table"><tr><td class="label">业务号</td><td class="exp" style="display: none"><select><option value="like">包含</option><option value="=">等于</option><option value=" not like">不包含</option> <option value="<>">不等于</option> </select></td><td><input name="bus_no" class="mini-textbox" style="width:100%;" data="bus_no_data" /></td></tr></table></div>

    <!--///-->
    <div class="col1" id="query_item_transport_way">
        <table class="query_table">
            <tr>
                <td class="label">海陆空类型</td>
                <td class="exp" style="display: none">
                    <select>
                        <option value="=">等于</option>
                        <option value="like">包含</option>
                        <option value=" not like">不包含</option>
                        <option value="<>">不等于</option>
                    </select>
                </td>
                <td>
                    <div id="auttransport_way" name="transport_way" class="mini-combobox" style="width: 100%; float:left;" popupwidth="200" allowinput="true" pinyinfield="name" textfield="name" valuefield="value" valuefromselect="true"
                         multiselect="true" selectonfocus="true" showclose="true" url="../../../Share/GetJsonList?tablename=v_data_base_dictionary_detail&fieldnames=value,name&where=code='bg_kouanleixing' and value<>'-1'&searchField=name,value" oncloseclick="onCloseClick">
                        <div property="columns">
                            <div header="编号" field="value"></div>
                            <div header="简称" field="name"></div>
                        </div>
                    </div>
                </td>
            </tr>
        </table>
    </div>
    <!--///-->

</div>





<script type="text/javascript">

    //会计期间下拉框改变事件
    function commentValueChanged(e) {
        if (e.value != "") {
            var beginDt = e.selecteds[0].period_begin_dt;
            var endDt = e.selecteds[0].period_end_dt;
            mini.get("txtkjqjpayee_dt_1").setValue(beginDt);
            mini.get("txtkjqjpayee_dt_2").setValue(endDt);
        } else {
            mini.get("txtkjqjpayee_dt_1").setValue("");
            mini.get("txtkjqjpayee_dt_2").setValue("");

        }
    }

    //关闭
    function onCloseClick(e) {
        var obj = e.sender;
        obj.setText("");
        obj.setValue("");
    }

</script>




